package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;

import java.util.List;
import java.util.Map;

/**
 * @author lenovo
 */
public interface HospitalService  {
    void saveHospital(Hospital hospital);

    Hospital getHospital(String hoscode);

    Map<String, Object> pageList(HospitalQueryVo hospitalQueryVo, Integer page, Integer size);

    void updateStatus(String id, Integer status);

    Hospital getById(String id);

    List<Hospital> getListByName(String hosname);

    Hospital getByCode(String hoscode);
}
